package com.demo.bean.business;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Business implements Serializable {
    /**
     * 
     * 表字段 : business.id
     */
    private Integer id;

    /**
     * 
     * 表字段 : business.name
     */
    private String name;

    /**
     * 
     * 表字段 : business.money
     */
    private BigDecimal money;

    /**
     * 
     * 表字段 : business.status
     */
    private Integer status;

    /**
     * 
     * 表字段 : business.update_time
     */
    private Date updateTime;

    /**
     * 
     * 表字段 : business.businesscol
     */
    private String businesscol;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table business
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * 获取  字段:business.id
     *
     * @return business.id, 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置  字段:business.id
     *
     * @param id the value for business.id, 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取  字段:business.name
     *
     * @return business.name, 
     */
    public String getName() {
        return name;
    }

    /**
     * 设置  字段:business.name
     *
     * @param name the value for business.name, 
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取  字段:business.money
     *
     * @return business.money, 
     */
    public BigDecimal getMoney() {
        return money;
    }

    /**
     * 设置  字段:business.money
     *
     * @param money the value for business.money, 
     */
    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    /**
     * 获取  字段:business.status
     *
     * @return business.status, 
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置  字段:business.status
     *
     * @param status the value for business.status, 
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取  字段:business.update_time
     *
     * @return business.update_time, 
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置  字段:business.update_time
     *
     * @param updateTime the value for business.update_time, 
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取  字段:business.businesscol
     *
     * @return business.businesscol, 
     */
    public String getBusinesscol() {
        return businesscol;
    }

    /**
     * 设置  字段:business.businesscol
     *
     * @param businesscol the value for business.businesscol, 
     */
    public void setBusinesscol(String businesscol) {
        this.businesscol = businesscol == null ? null : businesscol.trim();
    }

    /**
     * ,business
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", money=").append(money);
        sb.append(", status=").append(status);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", businesscol=").append(businesscol);
        sb.append("]");
        return sb.toString();
    }
}